package com.enterprise.projectManager.service;
import com.enterprise.projectManager.model.Contract;

import com.enterprise.projectManager.model.Project;

import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ContractService {
    Contract createcontra(Contract contract);

    Boolean deletecontra(String id1);

    Contract updatecontra(Contract contract);

    List<Contract> listcontra(int limitcon);

    List<Contract> listAll();

    List<String> findAllDistinctFirstCompany();
    List<String> findAllDistinctSecondCompany();


    List<Contract> filterContract(Contract contract);

}
